<template>
  <div class="confirmation-modal">
    <div class="modal-content">
      <slot>确认操作？</slot>
      <div class="modal-actions">
        <button>确认</button>
        <button>取消</button>
      </div>
    </div>
  </div>
</template>
<script setup>
</script>
<style scoped>
.confirmation-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.modal-content { background: #fff; padding: 2rem; border-radius: 8px; min-width: 240px; }
.modal-actions { margin-top: 1rem; text-align: right; }
</style> 